// 主界面
;
define(function(require, exports, module) {
	'use strict';
	var base = require(CONFIG.BasePath + "js/enterprise/base");
	var router = require("../hash/pageRouter");
	var css_pickup = require("./interestDelayApplicationDetail.css");
	var databind = require("databind");
	var tools = require("tools");
	var interestDelayId;

	var init = function(page) {
		interestDelayId = page.params.interestDelayId;
		databind.fillInput1($("#interestDelayApplicationDetail"), {
			action: "inquireInterestDelayApplicationDetail.json?interestDelayId=" + interestDelayId
		}, function() {
			$("#interestDelayApplicationDetail .applicantReson").html(tools.getCommonSelectorName(9, $("#interestDelayApplicationDetail .applicantReson").html()));
		});
		router.init();
		initEvent();
	};

	var initEvent = function() {
		if (base.getData("sid") == null) {
			location.href = "../login/login.html";
		}
	};

	return {
		init: init
	};
});